package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * maintenance对象 equipment_maintenance_detail
 * 
 * @author admin
 * @date 2020-07-20
 */
public class EquipmentMaintenanceDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备维保单id */
    @Excel(name = "设备维保单id")
    private Long equipmentMaintenanceId;

    /** 维保详情 */
    @Excel(name = "维保详情")
    private String content;

    /** 数量 */
    @Excel(name = "数量")
    private Integer mCount;

    /** 单价 */
    @Excel(name = "单价")
    private Double price;

    /** 金额 */
    @Excel(name = "金额")
    private Double cost;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentMaintenanceId(Long equipmentMaintenanceId) 
    {
        this.equipmentMaintenanceId = equipmentMaintenanceId;
    }

    public Long getEquipmentMaintenanceId() 
    {
        return equipmentMaintenanceId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setmCount(Integer mCount) 
    {
        this.mCount = mCount;
    }

    public Integer getmCount() 
    {
        return mCount;
    }
    public void setPrice(Double price) 
    {
        this.price = price;
    }

    public Double getPrice() 
    {
        return price;
    }
    public void setCost(Double cost) 
    {
        this.cost = cost;
    }

    public Double getCost() 
    {
        return cost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentMaintenanceId", getEquipmentMaintenanceId())
            .append("content", getContent())
            .append("mCount", getmCount())
            .append("price", getPrice())
            .append("cost", getCost())
            .append("remark", getRemark())
            .toString();
    }
}
